AddAgenterPanel = function(obj){
	var form = new Ext.form.FormPanel(
		{
			frame:true,
			items:[
				{
					xtype:'textfield',
					name:'name',
					fieldLabel:'提交表单'
				}
			]
		}
	);
	var config = {
		title:'添加代理商',
		iconCls:'add',
		layout:"fit",
		width:300,
		height:400,
		items:[form]
	}
	AddAgenterPanel.superclass.constructor.call(this,config);
}
Ext.extend(AddAgenterPanel,Ext.Panel);